{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>个人资料</strong></li>
	</ol>
</div>
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>个人资料</h5>
			</div>
			<div class="ibox-content">
				<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('updateSiteConfig')}">
					<input type="hidden" name="id" value="">
					<div class="form-group">
						<label class="col-sm-3 control-label">登录账号：</label>
						<div class="input-group col-sm-4">
							<input type="text" value="{$agent.store_name}" class="form-control" readonly/>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-3 control-label">添加时间：</label>
						<div class="input-group col-sm-4">
							<input type="text" value="{$agent.add_time}" class="form-control" readonly/>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-3 control-label">最后登录时间：</label>
						<div class="input-group col-sm-4">
							<input type="text" value="{$agent.lasttime}" class="form-control" readonly/>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-3 control-label">最后登录IP：</label>
						<div class="input-group col-sm-4">
							<input type="text" value="{$agent.lastIP}" class="form-control" readonly/>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
{/block} {block name="script"}
<script>
	//ajax表单提交
	$("#myForm").submit(function() {
		ajaxForm();
		return false;
	});
</script>
{/block}